package user

const (
	UserAssetTypeCash  uint32 = 1
	UserAssetTypeGem   uint32 = 2 // 宝石、 balance余额
	UserAssetTypePoint uint32 = 3 // 积分
)

const (
	UserAssetChangeTypeIncrease uint32 = 0 // 增加
	UserAssetChangeTypeDecrease uint32 = 1 // 减少
)

const (
	UserAssetSourceTypeConsume         uint32 = 0 // 消费
	UserAssetSourceTypeCharge          uint32 = 1 // 充值
	UserAssetSourceTypeRefund          uint32 = 2 // 退款
	UserAssetSourceTypeReturn          uint32 = 3 // 售后
	UserAssetSourceTypeSold            uint32 = 4 // 卖闲置
	UserAssetSourceTypeWithdrawal      uint32 = 5 // 提现
	UserAssetSourceTypeTask            uint32 = 6 // 任务
	UserAssetSourceTypeReward          uint32 = 7 // 奖励
	UserAssetSourceTypeCancelAndReturn uint32 = 8 // 返还
)
